package com.example.aigc_education.integration.request;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.io.Serializable;

@Data
public class CozeRequest<T> implements Serializable {

    @JsonProperty("workflow_id")
    @JSONField(name = "workflow_id")
    private String workflowId;

    private T parameters;

    @JsonProperty("is_async")
    @JSONField(name = "is_async")
    private boolean isAsync;
}
